#ifndef SELECTIONTYPEMENU_H
#define SELECTIONTYPEMENU_H

#include <QtGui/QWidget>
#include <Maestro/mcplugins.h>
#include "button.h"
#include "fileselector.h"
#include "keycontrollablemenu.h"
#include "folderlist.h"
#include "playlistdisplay.h"

namespace Ui {
    class SelectionTypeMenu;
}

class SelectionTypeMenu : public KeyControllableMenu {
    Q_OBJECT

public:
    SelectionTypeMenu(QWidget *parent = 0, FileSelectionInterface * fsi=0);
    ~SelectionTypeMenu();
    void setFileSelectionInterface(FileSelectionInterface * fsi) {
        this->fsi=fsi;
    }

public slots:
    void buttonSelected();
    void show();

private:
    Ui::SelectionTypeMenu *m_ui;
    FileSelectionInterface * fsi;
    FileSelector * selector;
    FolderList * folderList;
    PlaylistDisplay * playlistDisplay;
    Button * addButton(QString icon);
    Button * favouritesButton;
    Button * removableButton;
    Button * folderButton;
    Button * playlistButton;
};

#endif // SELECTIONTYPEMENU_H
